package com.example.crawler.mapper;

import com.example.crawler.entity.ProfessionEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * com.example.crawler.mapper
 *
 * @author 白雨浓
 * date: 2017/10/29 16:08
 * content:
 */
@Mapper
@Repository
public interface ProfessionMapper {

    boolean insert(ProfessionEntity entity);

    boolean insertList(@Param("list") List<ProfessionEntity> list);
}
